\hypertarget{class_runnable}{\section{Runnable类 参考}
\label{class_runnable}\index{Runnable@{Runnable}}
}


线程运行体  




{\ttfamily \#include $<$Thread\+Pool.\+h$>$}

\subsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_runnable_a19af0a2e2b8f986c51196b9c4b2340fb}{Runnable} ()
\begin{DoxyCompactList}\small\item\em 线程运行体构造函数 \end{DoxyCompactList}\item 
virtual \hyperlink{class_runnable_a3bf7483afb8d40ec8dbec57efb64f0c2}{$\sim$\+Runnable} ()
\begin{DoxyCompactList}\small\item\em 线程运行体析构函数 \end{DoxyCompactList}\item 
\hypertarget{class_runnable_aafefe1fcc24381503c687c71c6130dd5}{virtual void {\bfseries run} ()=0}\label{class_runnable_aafefe1fcc24381503c687c71c6130dd5}

\item 
bool \hyperlink{class_runnable_abc43d183c0d8d829d03cd4ca9532fd47}{is\+Running} ()
\begin{DoxyCompactList}\small\item\em 判断运行体是否正在运行 \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{友元}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_runnable_a5d97748be7d69dcc44ef551ea35ef20f}{class {\bfseries Thread\+Pool}}\label{class_runnable_a5d97748be7d69dcc44ef551ea35ef20f}

\end{DoxyCompactItemize}


\subsection{详细描述}
线程运行体 

\subsection{构造及析构函数说明}
\hypertarget{class_runnable_a19af0a2e2b8f986c51196b9c4b2340fb}{\index{Runnable@{Runnable}!Runnable@{Runnable}}
\index{Runnable@{Runnable}!Runnable@{Runnable}}
\subsubsection[{Runnable}]{\setlength{\rightskip}{0pt plus 5cm}Runnable\+::\+Runnable (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_runnable_a19af0a2e2b8f986c51196b9c4b2340fb}


线程运行体构造函数 


\begin{DoxyParams}{参数}
{\em none} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
none 
\end{DoxyReturn}
\hypertarget{class_runnable_a3bf7483afb8d40ec8dbec57efb64f0c2}{\index{Runnable@{Runnable}!````~Runnable@{$\sim$\+Runnable}}
\index{````~Runnable@{$\sim$\+Runnable}!Runnable@{Runnable}}
\subsubsection[{$\sim$\+Runnable}]{\setlength{\rightskip}{0pt plus 5cm}Runnable\+::$\sim$\+Runnable (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_runnable_a3bf7483afb8d40ec8dbec57efb64f0c2}


线程运行体析构函数 


\begin{DoxyParams}{参数}
{\em none} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
none 
\end{DoxyReturn}


\subsection{成员函数说明}
\hypertarget{class_runnable_abc43d183c0d8d829d03cd4ca9532fd47}{\index{Runnable@{Runnable}!is\+Running@{is\+Running}}
\index{is\+Running@{is\+Running}!Runnable@{Runnable}}
\subsubsection[{is\+Running}]{\setlength{\rightskip}{0pt plus 5cm}bool Runnable\+::is\+Running (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_runnable_abc43d183c0d8d829d03cd4ca9532fd47}


判断运行体是否正在运行 


\begin{DoxyParams}{参数}
{\em none} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
正在运行返回true,停止运行返回false 
\end{DoxyReturn}


该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
libemb/inc/\hyperlink{_thread_pool_8h}{Thread\+Pool.\+h}\item 
libemb/src/Thread\+Pool.\+cpp\end{DoxyCompactItemize}
